package org.codeart.observer.hosue2;

import org.codeart.observer.dto.LotteryResult;

/**
 * 短信发送监听器
 */
public class MessageEventListener implements EventListener {

    @Override
    public void process(LotteryResult result) {
        System.out.printf("发送短信通知，用户ID：%s，摇号结果为: %s", result.getUid(), result.getMsg());
    }
}
